![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I would like to create a global varible from a result of a query. I use the rowset value into glabal varile. Here is what I did: SELECT MAX(updateDate) FROM tblLobbyistDisbursment click paratmeter/output parameter/row set/ create global variable/ name:glbMaxDate, type: I chose Date, Value: I wonder what should I put here, I leave it blank. After I click OK, it tells me: cannot convert varible from type bstr to type date. I check the update fields type in my Access database is Datetime, in SQL server is smalldatetime. So I don't know where bstr comes from Any suggestions will be appreciated Ann |
![]() |
| Thread Tools | |
| Display Modes | |
| |