Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with .Null.
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00519647
Message ID:
00519659
Views:
13
I haven't worked with general fields, so I don't know if this will help, but you could try.

In the SQL, put NVL(genfield,""). If the "" doesn't work for a general field, maybe something else will. The general idea is to eliminate the null values as you run the SQL.

Michelle


>I have 2 tables; the first table is employee table, and the second table has a General field which holds photo. I want to run a report. I decided to join the tables using left join because there isn't always an entry in the photo table to match with the employee table. Where there isn't an entry in the photo table, it shows a .Null. value in the field. My problem is every time I hit a record .Null. value, I get an error "FIELD MUST BE A GENERAL FIELD" in the report. I tried several ways to get around this. Print when photo<>.NULL. Another way Print when type('photo')="G".
>
>Does anyone have any suggestions?
>
>TIA
>Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform