Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Oracle Question in Remote View Dates
Message
 
To
06/01/2003 11:23:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00738372
Message ID:
00738386
Views:
16
I'll give this a try... I was using the Remote View Wizard and trying to use some static values to get a feel for the syntax that Oracle wants....

I was using stuff like '01/01/2001' ... ^2002-01-01 ... and the like but nothing would work....

>>I have to set up a remote view with a parameterized datetime field...
>>
>>Question 1 - After selecting the paydate (datetime) field in the selection criteria and selecting equals.... what do I type in for the EXAMPLE... I can't seem to get this right without getting an error (column not found - or else incorrect month).
>>
>>Question 2 - For a datetime range (between a lower date and an ending date), what would the example be?
>>
>>Thanks for the help....
>>
>>Tommy
>
>Tommy,
>I don't use Oracle but it should be same as in SQL server :
>
>
>*1)
>SQLExec(handle,"select * from myTable"+;
> " where myDate = ?thisform.txtPayDate.Value",'Result')
>
>*2)
>SQLExec(handle,"select * from myTable"+;
> " where myDate between "+;
> "?thisform.txtStartDate.Value and ?thisform.txtEndDate.Value", 'Result')
>
Cetin
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform