Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro remote view for Sql server 7
Message
From
07/02/2000 11:58:34
Monte Murdock
Universal American Mortgage Company
Clearwater, Florida, United States
 
 
To
07/02/2000 11:56:55
Monte Murdock
Universal American Mortgage Company
Clearwater, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00328241
Message ID:
00328307
Views:
26
>>>It is giving me a unrecognized phrase/keyword error:
>>>
>>>create sql view trouble_ticket as;
>>> select top 1 Trouble_ticket.trouble_ticket_id,;
>>> Trouble_ticket.tt_problem, Trouble_ticket.tt_solution,;
>>> Trouble_ticket.tt_sent_to_tech, Trouble_ticket.tt_monitor_name,;
>>> Trouble_ticket.system_serial, Trouble_ticket.tt_location_city,;
>>> Trouble_ticket.tt_location_address,;
>>> Trouble_ticket.tt_datetime_of_ticket,;
>>> Trouble_ticket.tt_datetime_of_incident,;
>>> FROM dbo.Trouble_Ticket
>>>
>>>I also tried: create remote view trouble_ticket as;....
>>>
>>>and it said there was a syntax error
>>>
>>>can 'top' be used in visual foxpro 6?
>>>I know it can be used in sql server 7.
>>
>>You may have to use SQL Passthrough instead of a remote view. Look up SQLCONNECT() and SQLEXEC() in VFP Help.
>
>Also, you could try removing top from your sql statement, create the view, open the view in the view designer, from the menu select Query Options, then change the Maximum number of records to fetch to 1.
>
>MOnTe
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform