Har lavet følgen samkøring, se nedenfor, af 2 forskellige tabeller der virkede indtil jeg indsatte [KOMPONENT]. Ved kørsel spørges efter data for [KOMPONENT]. Hvis der trykkes på OK indsættes data ikke men feltet er tomt.
Kan det skyldes at data i [KOMPONENT]har følgende syntaks "-B01", dvs. at data altid begynder med - eller er tom.
SELECT [KKSNR], [KOMPONENT], [KODE], [BETEGNELSE], [FUNKTIONSENHED], [KORTPLACERING], [ELEKTRISK_METODE], [MAALEOMR_FRA_MEK], [MAALEOMR_TIL_MEK], [MAALEOMR_BET_MEK], [TEGN_HENVIS_2] FROM [Givere alle] UNION ALL SELECT [KKSNR], [KOMPONENT], [KODE], [BETEGNELSE], [FUNKTIONSENHED], [KORTPLACERING_L], [STYRINGSTYPE], NULL, NULL, NULL, [STROEMLOEBSPLAN] FROM [STYRING_ALLE]
So if the problem occured AFTER you introduced KOMPONET then check that you have spelt the field name correctky and it exist and alos that the data types are the same.
If you look at each table in design view each field has a data type, for example number or text. So for example, the field KOMPONENT must have the same data type in both tables.
If you are still having problems then I could take a look at your dB.
to close you need to either accept the answers given, or place ananswer yourself, accept it and get your points back.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.