Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing to a FoxPro table with ASP
Message
De
26/02/1998 11:16:39
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Writing to a FoxPro table with ASP
Divers
Thread ID:
00081398
Message ID:
00081398
Vues:
53
I am experimenting with Active Server Pages and trying to
READ and WRITE to a Visual FoxPro free table.

I can READ from the table just fine and I can WTITE
hard coded strings to the table.

However, I am having trouble writting variable information
to the table.

In my ASP page, I open the table up alright, and I capture
form information and store it to variables alright, but I can't
write the variable information to ny table.

Below are 2 examples. Example 1 works in my Active Server Page.
Example 2 returns an error message.

Example 1. Works.
sql = "INSERT INTO ROSTER (last, first) VALUE ('John', 'Doe')"

Example 2. Error.
sql = "INSERT INTO ROSTER (last, first) VALUE ('&<%=l_last%>&', '&<%=l_first%>&')"

How should I format example 2 to make it work?

Thanks,

Jerry Tovar
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform